
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: Arial, sans-serif;
}

@font-face {
    font-family: h1;
    src: url(fonts/journal.ttf);
}

h1 {
    font-family: Arial;
    font-size: 48px;
    text-align: center;
    font-weight: 500;
}

h2 {
    text-align: center;
    font-size: 24px;
}

body {
    background-color: #F6F4F3;
    color: black;
}

.content-intro {
    margin: auto;
    margin-top: 80px;
    width: 100%;
}

.bkgimg-top {
    display: none;
}

.bkgimg-mobile {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 350px;
    top:85px;
    position: absolute;
}


.overlay-padding {
    padding: 0px 10px;
}

.intro-overlay {
    position: relative;
    margin: auto;
    top: 80px;
    max-width: 450px;
    height: 300px;
    padding: 20px;
    color: white;
}

.intro-text {
    text-align: center;
    padding: 25px 0px 20px;
}

.intro-button {
    text-align: center;
}

.intro-overlay .button {
    margin: auto;
    background-color: #FCAB4C;
    border-radius: 5px;
    border: none;
    font-size: 20px;
    padding: 15px;
    z-index: 5;
}

    .intro-overlay .button span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
    }

        .intro-overlay .button span:after {
            content: '\00bb';
            position: absolute;
            opacity: 0;
            top: 0;
            right: -20px;
            transition: 0.5s;
        }

    .intro-overlay .button:hover {
        background-color: #FCAB4C;
    }

        .intro-overlay .button:hover span {
            padding-right: 25px;
        }

            .intro-overlay .button:hover span:after {
                opacity: 1;
                right: 0;
            }

    .intro-overlay .button:active {
        background-color: #FCAB4C;
        transform: translateY(2px);
    }

.aboutUs {
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    padding: 25px;
    border-bottom: 3px solid #8D1308;
}

.aboutUs .info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.aboutUs .text {
    margin: auto;
    width: 350px;
    font-size: 18px;
}

.honeycomb-grid {
    margin: auto;
    width: 400px;
    height: auto;
    padding: 25px 0px 0px;
}

#hexGrid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    list-style-type: none;
    padding-bottom: 7.4%
}

.hex {
    position: relative;
    outline: 1px solid transparent; /* fix for jagged edges in FF on hover transition */
    width: 33%;
}

    .hex::after {
        content: '';
        display: block;
        padding-bottom: 86.602%; /* =  100 / tan(60) * 1.5 */
    }

.hexIn {
    position: absolute;
    width: 96%;
    padding-bottom: 110.851%; /* =  width / sin(60) */
    overflow: hidden;
    outline: 1px solid transparent; /* fix for jagged edges in FF on hover transition */
    -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}

    .hexIn * {
        position: absolute;
        visibility: visible;
        outline: 1px solid transparent; /* fix for jagged edges in FF on hover transition */
    }

.hexLink {
    display: flex;
    width: 100%;
    height: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #FFE286;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
    -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
    transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}

.hex:nth-child(4n+1) { /* first hexagon of even rows */
    margin-left: 24.99%; /* = width of .hex / 2  to indent even rows */
}

.hex:nth-child(4n+3) {
    margin-left: 8.33%
}

/*** HEX CONTENT **********************************************************************/


.hex p {
    display: inline;
    text-align: center;
    width: 100%;
    color: black;
    font-family: Arial, sans-serif;
    font-size: 20px;
    z-index: 1;
}

.locationsPadding {
    margin: auto;
    max-width: 800px;
    margin-bottom: 50px;
}

.locations {
    margin: auto;
    width: 100%;
}

.locations h2 {
    padding: 25px;
    font-size: 20px;
    text-align: center;
}

.locations ul {
    list-style: none;
}

.locations li::before {
    content: "\2022";
    color: #FCAB4C;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.locations li {
    margin: auto;
    max-width: 300px;
    font-size: 20px;
    padding: 10px 10px 10px 30px;
}

@media only screen and (max-width: 475px) {
    .hex h1 {
        font-size: 24px;
    }
}

@media only screen and (min-width: 800px) {

.content-intro {
    max-width: 1200px;
    margin-top: 80px;
}

    .intro-overlay {
        max-width: 600px;
        margin: auto;
        top: 100px;
        height: 400px;
    }

    .bkgimg-top {
        position: absolute;
        top: 85px;
        display: block;
        object-fit: cover;
        max-width: 1200px;
        height: 450px;
        margin: auto;
        text-align: center;
    }

    .bkgimg-mobile {
        display: none;
    }

.aboutUs {
    max-width: 800px;
}

    .honeycomb-grid {
        width: 400px;
    }

    .locations {
        max-width: 500px;
    }

    .locations li {
        margin-left: 70px;
    }
}
